package com.xujie.sportsmeeting.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;

/**
 * 每日报名统计VO
 */
@Data
@Schema(description = "每日报名统计")
public class DailyRegistrationVO {

    @Schema(description = "日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate date;

    @Schema(description = "当日报名数")
    private Integer dailyCount;

    @Schema(description = "累计报名数")
    private Integer cumulativeCount;

    @Schema(description = "男性报名数")
    private Integer maleCount;

    @Schema(description = "女性报名数")
    private Integer femaleCount;

    @Schema(description = "较前日变化")
    private Integer changeFromPrevious;

    @Schema(description = "变化百分比")
    private String changePercentage;
}
